package cn.micro.keep.accounts.mybatis;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IBasicService<T> extends IService<T> {

    int insertBatch(List<T> list);

    int updateBatch(List<T> list);

    int insert(T data);

    int updateInfoById(T data);

    int deleteById(T id);

    int deleteByCondition(QueryWrapper<T> queryWrapper);

}